<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Salary extends Admin_Controller {

	/** Begin: Config **/
	
	// Config List view
	protected $list_view_order_name = 'salary';
	protected $list_view_order_direction = 'ASC';
	protected $list_view_searched_fields = array(
			'salary'			=>	'Lương'
		);
	protected $list_search_filter = array();
	protected $fields =  array(
			'driver_id'		=>	array(
								'text'	=>	'Tài xế',
								'type'	=>	'select',
								'form_view' => array(
									'data_table'			=>	DRIVER_TABLE,
									'condition'				=>	'',
									'parent_text'			=>	'name',
									'default_parent_text'	=>	'Chọn tài xế'
								)
							),
			'salary'		=>	array(
								'text'	=>	'Lương',
								'type'	=>	'text',
								'list_view' => array(
									'is_show_link'	=>	true
								),
								'form_view'=>array(
									'type'	=>	'text'
								)
							)
			);
	// Config Form view
	
	/*------------------------------------ Admin Control Panel ------------------------------------*/
	
	/*------------------------------------ End Admin Control Panel --------------------------------*/
	
	
	/*------------------------------------ FRONTEND ------------------------------------*/
	
	/*------------------------------------ End FRONTEND --------------------------------*/
}